﻿using System;
using YmtAuth.Domain.EventHistory;
using YmtAuth.Repository.Register;

namespace YmtAuth.Repository.YmtAuthDomainRepository.RegisterEntity
{
    public class YmtUserLoginHistoryMappingCfg : RegisterEntityMappingConfigure
    {
        public override EntityMappingConfigure RegisterEntity()
        {
            return new EntityMappingConfigure
            {
                MappType = typeof(YmtUserLoginEvent),
                ToDatabase = "Ymt_LoginHistory",
                ToCollection = "LoginHistory"
            };
        }
    }
}
